/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uit_vendor_management;

/**
 *
 * @author QuangKhoi
 */
public class PaymentForm extends javax.swing.JFrame {

    /**
     * Creates new form PaymentForm
     */
    public PaymentForm() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblTitle = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        tbxMaPhieuThu = new javax.swing.JTextField();
        lblMaPhieuThu = new javax.swing.JLabel();
        lblMaDaiLy = new javax.swing.JLabel();
        tbxMaDaiLy = new javax.swing.JTextField();
        lblTen = new javax.swing.JLabel();
        tbxTen = new javax.swing.JTextField();
        lblEmail = new javax.swing.JLabel();
        tbxEmail = new javax.swing.JTextField();
        lblSoTienThu = new javax.swing.JLabel();
        tbxSoTienThu = new javax.swing.JTextField();
        lblNgayThuTien = new javax.swing.JLabel();
        tbxNgayThuTien = new javax.swing.JTextField();
        lblDienThoai = new javax.swing.JLabel();
        tbxDienThoai = new javax.swing.JTextField();
        lblDiaChi = new javax.swing.JLabel();
        tbxDiaChi = new javax.swing.JTextField();
        lblTienNo = new javax.swing.JLabel();
        tbxTienNo = new javax.swing.JTextField();
        lblNoSau = new javax.swing.JLabel();
        tbxNoSau = new javax.swing.JTextField();
        btnGenerate = new javax.swing.JButton();
        btnClear = new javax.swing.JButton();
        btnLookup = new javax.swing.JButton();
        btnExit = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        lblTitle.setFont(new java.awt.Font("Calibri", 0, 36)); // NOI18N
        lblTitle.setText("Phiếu Thu tiền");

        jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        tbxMaPhieuThu.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxMaPhieuThu.setAlignmentX(5.0F);
        tbxMaPhieuThu.setAlignmentY(5.0F);
        tbxMaPhieuThu.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxMaPhieuThu.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxMaPhieuThu.setPreferredSize(new java.awt.Dimension(2, 24));

        lblMaPhieuThu.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblMaPhieuThu.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblMaPhieuThu.setText("Mã Phiếu Thu");

        lblMaDaiLy.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblMaDaiLy.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblMaDaiLy.setText("Mã Đại Lý");

        tbxMaDaiLy.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxMaDaiLy.setAlignmentX(5.0F);
        tbxMaDaiLy.setAlignmentY(5.0F);
        tbxMaDaiLy.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxMaDaiLy.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxMaDaiLy.setPreferredSize(new java.awt.Dimension(2, 24));

        lblTen.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblTen.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblTen.setText("Tên");

        tbxTen.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxTen.setAlignmentX(5.0F);
        tbxTen.setAlignmentY(5.0F);
        tbxTen.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxTen.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxTen.setPreferredSize(new java.awt.Dimension(2, 24));

        lblEmail.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblEmail.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblEmail.setText("Email");

        tbxEmail.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxEmail.setAlignmentX(5.0F);
        tbxEmail.setAlignmentY(5.0F);
        tbxEmail.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxEmail.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxEmail.setPreferredSize(new java.awt.Dimension(2, 24));

        lblSoTienThu.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblSoTienThu.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblSoTienThu.setText("Số Tiền Thu");

        tbxSoTienThu.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxSoTienThu.setAlignmentX(5.0F);
        tbxSoTienThu.setAlignmentY(5.0F);
        tbxSoTienThu.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxSoTienThu.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxSoTienThu.setPreferredSize(new java.awt.Dimension(2, 24));
        tbxSoTienThu.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tbxSoTienThuActionPerformed(evt);
            }
        });

        lblNgayThuTien.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblNgayThuTien.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblNgayThuTien.setText("Ngày Thu Tiền");

        tbxNgayThuTien.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxNgayThuTien.setAlignmentX(5.0F);
        tbxNgayThuTien.setAlignmentY(5.0F);
        tbxNgayThuTien.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxNgayThuTien.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxNgayThuTien.setPreferredSize(new java.awt.Dimension(2, 24));

        lblDienThoai.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblDienThoai.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblDienThoai.setText("Điện Thoại");

        tbxDienThoai.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxDienThoai.setAlignmentX(5.0F);
        tbxDienThoai.setAlignmentY(5.0F);
        tbxDienThoai.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxDienThoai.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxDienThoai.setPreferredSize(new java.awt.Dimension(2, 24));

        lblDiaChi.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblDiaChi.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblDiaChi.setText("Địa Chỉ");

        tbxDiaChi.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxDiaChi.setAlignmentX(5.0F);
        tbxDiaChi.setAlignmentY(5.0F);
        tbxDiaChi.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxDiaChi.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxDiaChi.setPreferredSize(new java.awt.Dimension(2, 24));

        lblTienNo.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblTienNo.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblTienNo.setText("Tiền Nợ");

        tbxTienNo.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxTienNo.setAlignmentX(5.0F);
        tbxTienNo.setAlignmentY(5.0F);
        tbxTienNo.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxTienNo.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxTienNo.setPreferredSize(new java.awt.Dimension(2, 24));

        lblNoSau.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        lblNoSau.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblNoSau.setText("Tiền nợ sau");

        tbxNoSau.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        tbxNoSau.setAlignmentX(5.0F);
        tbxNoSau.setAlignmentY(5.0F);
        tbxNoSau.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));
        tbxNoSau.setMinimumSize(new java.awt.Dimension(2, 24));
        tbxNoSau.setPreferredSize(new java.awt.Dimension(2, 24));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblMaPhieuThu, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblMaDaiLy, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblTen, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblEmail, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblSoTienThu, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(tbxMaPhieuThu, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(tbxMaDaiLy, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(tbxTen, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(tbxEmail, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(tbxSoTienThu, javax.swing.GroupLayout.PREFERRED_SIZE, 165, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(24, 24, 24)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblNgayThuTien, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblDienThoai, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblDiaChi, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(lblTienNo, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(tbxTienNo, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE)
                            .addComponent(tbxDiaChi, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(tbxDienThoai, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(tbxNgayThuTien, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(lblNoSau, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(tbxNoSau, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(12, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tbxMaPhieuThu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblMaPhieuThu)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(tbxNgayThuTien, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblNgayThuTien)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tbxMaDaiLy, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblMaDaiLy)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(tbxDienThoai, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblDienThoai)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tbxTen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblTen)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(tbxDiaChi, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblDiaChi)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tbxEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblEmail)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(tbxTienNo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblTienNo)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tbxSoTienThu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblSoTienThu)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(tbxNoSau, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblNoSau)))
                .addContainerGap())
        );

        btnGenerate.setBackground(new java.awt.Color(230, 230, 230));
        btnGenerate.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        btnGenerate.setText("Lập Phiếu Thu");
        btnGenerate.setBorder(null);
        btnGenerate.setMaximumSize(new java.awt.Dimension(41, 20));
        btnGenerate.setMinimumSize(new java.awt.Dimension(41, 20));
        btnGenerate.setPreferredSize(new java.awt.Dimension(41, 20));
        btnGenerate.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGenerateActionPerformed(evt);
            }
        });

        btnClear.setBackground(new java.awt.Color(230, 230, 230));
        btnClear.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        btnClear.setText("Phiếu Thu Mới");
        btnClear.setBorder(null);
        btnClear.setMaximumSize(new java.awt.Dimension(41, 20));
        btnClear.setMinimumSize(new java.awt.Dimension(41, 20));
        btnClear.setPreferredSize(new java.awt.Dimension(41, 20));
        btnClear.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnClearActionPerformed(evt);
            }
        });

        btnLookup.setBackground(new java.awt.Color(230, 230, 230));
        btnLookup.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        btnLookup.setText("Tra Cứu Đại Lý");
        btnLookup.setBorder(null);
        btnLookup.setMaximumSize(new java.awt.Dimension(41, 20));
        btnLookup.setMinimumSize(new java.awt.Dimension(41, 20));
        btnLookup.setPreferredSize(new java.awt.Dimension(41, 20));
        btnLookup.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnLookupActionPerformed(evt);
            }
        });

        btnExit.setBackground(new java.awt.Color(230, 230, 230));
        btnExit.setFont(new java.awt.Font("Calibri", 0, 14)); // NOI18N
        btnExit.setText("Thoát");
        btnExit.setBorder(null);
        btnExit.setMaximumSize(new java.awt.Dimension(41, 20));
        btnExit.setMinimumSize(new java.awt.Dimension(41, 20));
        btnExit.setPreferredSize(new java.awt.Dimension(41, 20));
        btnExit.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnExitActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(58, 58, 58)
                        .addComponent(lblTitle)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(btnGenerate, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnClear, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnLookup, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addComponent(lblTitle)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnGenerate, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnClear, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnLookup, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void tbxSoTienThuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tbxSoTienThuActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tbxSoTienThuActionPerformed

    private void btnGenerateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGenerateActionPerformed
        // TODO add your handling code here:

    }//GEN-LAST:event_btnGenerateActionPerformed

    private void btnClearActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnClearActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnClearActionPerformed

    private void btnLookupActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLookupActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnLookupActionPerformed

    private void btnExitActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnExitActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnExitActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(PaymentForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(PaymentForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(PaymentForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(PaymentForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new PaymentForm().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnClear;
    private javax.swing.JButton btnExit;
    private javax.swing.JButton btnGenerate;
    private javax.swing.JButton btnLookup;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JLabel lblDiaChi;
    private javax.swing.JLabel lblDienThoai;
    private javax.swing.JLabel lblEmail;
    private javax.swing.JLabel lblMaDaiLy;
    private javax.swing.JLabel lblMaPhieuThu;
    private javax.swing.JLabel lblNgayThuTien;
    private javax.swing.JLabel lblNoSau;
    private javax.swing.JLabel lblSoTienThu;
    private javax.swing.JLabel lblTen;
    private javax.swing.JLabel lblTienNo;
    private javax.swing.JLabel lblTitle;
    private javax.swing.JTextField tbxDiaChi;
    private javax.swing.JTextField tbxDienThoai;
    private javax.swing.JTextField tbxEmail;
    private javax.swing.JTextField tbxMaDaiLy;
    private javax.swing.JTextField tbxMaPhieuThu;
    private javax.swing.JTextField tbxNgayThuTien;
    private javax.swing.JTextField tbxNoSau;
    private javax.swing.JTextField tbxSoTienThu;
    private javax.swing.JTextField tbxTen;
    private javax.swing.JTextField tbxTienNo;
    // End of variables declaration//GEN-END:variables
}
